package com.zn.opit.shirodemo.domain.enums;

import lombok.Getter;

// 类型:1-菜单;2-按钮
@Getter
public enum SysPermType {

    MENU(1, "菜单"),
    BUTTON(2, "按钮"),
    ;

    final Integer code;
    final String msg;

    SysPermType(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
